package com.kdd.campus.sh.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/****
 * @Author:shenkunlin
 * @Description:ShGallery构建
 * @Date 2019/6/14 19:13
 *****/
@ApiModel(description = "gallery",value = "gallery")
@Table(name="sh_gallery")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ShGallery implements Serializable{

	@ApiModelProperty(value = "",required = false)
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
	private Long id;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "product_id")
	private Long productId;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "img_url")
	private String imgUrl;//

	@ApiModelProperty(value = "",required = false)
    @Column(name = "img_desc")
	private String imgDesc;//

	@ApiModelProperty(value = "序号，第几张显示",required = false)
    @Column(name = "sort_order")
	private Integer sortOrder;//序号，第几张显示

}
